@charset "utf-8";
/* 样式归0开始 */
* {
    margin: 0;

    
}
html,
body {

    font-family: var(--general_font_family);
    font-style: var(--general_font_style);
    font-weight: var(--general_font_weigth);
    font-size: var(--general_font_size);
    width: 100%;
    color: var(--main_color);
    line-height: var(--general_line_height);
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    background-color: var(--page_background_color);
    word-wrap:break-word;
}

html {
    overflow-y: scroll;
}

td {
    font-size: var(--general_font_size);
}
iframe{
    border: 0;
}
input,
button,
textarea {
    font-size: var(--general_font_size);
    outline: none;
    border: none;
    -webkit-appearance: none;
    color: var(--color-main);
    font-family: var(--general_font_family);
}
select{
    font-family: var(--general_font_family);
    font-size: var(--general_font_size);
}

input:disabled {
    color: var(--disable-color);
}

input[type=text],
input[type=password] {
    line-height: 1;
    -webkit-appearance: none;
}

input::-moz-placeholder {
    color: var(--color-input-placeholder);
}

input:-ms-input-placeholder {
    color: var(--color-input-placeholder);
}

input::placeholder {
    color: var(--color-input-placeholder);
}

textarea::placeholder {
    color: var(--color-input-placeholder);
}

input[type=button],
button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select {
    font-size: 1rem;
}

textarea {
    overflow: auto;
    font-size: 1rem;
}

img {
    border: 0px;
    vertical-align: top;
}

ul,
li {
    list-style-type: none;
}


ul,
li,
p,
div,
input,
ol {
    padding: 0px;
    margin: 0px;
}

a {
    color: var(--color-main);
    text-decoration: none;
    outline-style: none;
}

.main_btn{
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-size: 16px;
    margin-top: 30px;
    padding: 0 20px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    background: var(--main_button_bg);
    color: var(--main_button_color);
    cursor: pointer;
    border-radius: var(--button_border_radius);
    transition: all 0.3s;
}
.main_btn:hover{
    opacity: .9;
}


.title {
    text-align: center;
    margin-top: calc(var(--general_layout_spacing) * var(--title_margin_bottom_scale));
    margin-bottom: calc(var(--general_layout_spacing) * var(--title_margin_bottom_scale));
    position: relative;
    color: var(--title_color);
    font-size: var(--title_font_size);
    font-family: var(--title_font_family);
    font-style: var(--title_font_style);
    font-weight: var(--title_font_weigth);
    letter-spacing: var(--title_letter_spacing);
}

/*积木块样式*/
.block_title {
    margin-bottom: calc(var(--general_layout_spacing) * var(--title_margin_bottom_scale));
    text-align: center;
    position: relative;
}

.block_title h2 {
    font-size: var(--title_font_size);
    color: var(--title_color);
    font-family: var(--title_font_family);
    font-style: var(--title_font_style);
    font-weight: var(--title_font_weigth);
    letter-spacing: var(--title_letter_spacing);
    position: relative;
    line-height: 1;
    
}

.block_title .block_detail {
    color: var(--detail_color);
    max-width: 880px;
    margin: 0 auto;
    margin-top: calc(var(--general_layout_spacing) * 0.25);
}



.product_tag_list {
    position: absolute;
    right: 20px;
    bottom: 20px;
    top: auto;
    left: auto;
    width: auto;
    display: flex;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.product_tag_list .mobile_product_view{
    display: none;
}

.fall-item:hover .product_tag_list,
li:hover .product_tag_list {
    opacity: 1;
    visibility: visible;
}

.product_tag_list a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    margin: 0;
    border-radius: 50%;
    background-color: #fff;
    transition: all 0.3s;
    box-shadow: 0px 6px 6px 0px rgb(0 0 0 / 10%);
}
.product_tag_list a:hover{
    opacity: .95;
    transform: none;
}
.product_tag_list a svg{
    fill: #333;
}
.block_product_name a{
    font-size: var(--general_font_size);
    color: #888;
    text-align: left;
}
.block_product_name a:hover{
    color: var(--title_color);
}
.product_pic .soldout{
    position: absolute;
    left: 20px;
    bottom: 30px;
    width: calc(100% - 40px);
    height: 34px;
    line-height: 34px;
    background-color: #d6d6d6;
    color: #f6f6f6;
}
.block_product_name{
    font-family: var(--title_font_family);
}
.discount_tag.label_style_1,
.discount_tag.label_style_2,
.discount_tag.label_style_3,
.discount_tag.label_style_4{
    overflow: hidden;
}
.mobile_product_view{
    display:none;
}
.block_collection_recommend .product_pic .soldout,
.collection_detail_default .product_pic .soldout,
.block_collection_waterfall .product_pic .soldout,
.block_collection_tab .product_pic .soldout,
.block_collection_slides .product_pic .soldout,
.block_collection_list .product_pic  .soldout {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 120px;
    height: 120px;
    margin: -60px 0 0 -60px;
    border-radius: 50%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .3);
    color: #fff;
}


.collection_list_default .collection_content li .collection_pic .collection_name{
    text-align: center !important;
}
.graphic-warp .graphic-list .graphic-item .graphic-item-title,
.block_blog .blog_name{
    font-weight: 500 !important;
}
.minicart .minicart_top .close_btn svg{
    fill: #a6a6a6;
}
.minicart .product_info_name{
    font-size: var(--general_font_size);
}

@media (max-width: 768px) {
    .product_tag_list{
        display: none;
    }
    .mobile_product_view{
        display:block;
        margin-top: 20px;
    }
    .solgan-warp .solgan-flex .solgan-flex-item {
        padding: 0;
    }
    .discount_tag.label_style_1{
        transform: none; 
        top: 0; 
        right: 0; 
    }
    .block_title{
        margin-bottom: calc(var(--general_layout_spacing) * 0.5);
    }
    .title, 
    .mo-header .header-title, 
    .general_title-color, 
    .block_image .content-title, 
    .block_title h2 {
        font-size: calc(var(--title_font_size) * var(--wap_title_scale));
    }
    
}
@media (max-width: 767px) {
    .discount_tag.label_style_1 .discount_tag_name{
        font-size: 12px;
        line-height: 14px;
        top: 3px;
        left: -2px;
    }
    .discount_tag.label_style_1{
        width: 60px;
        height: 60px;
        line-height: 60px;
    }
    .discount_tag.label_style_1 .discount_tag_graphics{
        border-top: 60px solid var(--discount_tag_bg);
        border-left: 60px solid transparent;
    }
    .discount_tag.label_style_2 .discount_tag_name{
        font-size: 12px;
        width: 34px;
        padding: 6px 0;
    }
    .discount_tag.label_style_3 .discount_tag_name{
        font-size: 12px;
        top: -16px;
        left: 16px;
    }
    .discount_tag.label_style_4{
        right: 0;
        top: 0;
        font-size: 12px;
        width: 40px;
        height: 40px;
    }
    .discount_tag.label_style_4 .discount_tag_name{
        line-height: 14px;
    }
    .block_collection_recommend .collection_product_wap_2 .product_pic .soldout,
    .collection_detail_default .collection_product_wap_2 .product_pic .soldout,
    .block_collection_waterfall .product_pic .soldout,
    .block_collection_tab .collection_product_wap_2 .product_pic .soldout,
    .block_collection_slides .product_pic .soldout,
    .block_collection_list .collection_product_wap_2 .product_pic .soldout {
        width: 80px;
        height: 80px;
        margin: -40px 0 0 -40px;
        font-size: 12px;
    }
}